/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sonia.golf;

import java.util.Collection;
import java.util.Date;
import java.util.UUID;

/**
 *
 * @author Sebastian Sdorra
 */
public class Game {

  private String id;
  private Date creationDate;
  private Course course;

  public Game(Course course, Collection<Player> players)
  {
    id = UUID.randomUUID().toString();
    creationDate = new Date();
    this.course = course;
  }

  public Game(String id, Date creationDate, Course course)
  {
    this.id = id;
    this.creationDate = creationDate;
    this.course = course;
  }

  

}
